projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d475b5
)
(prepare_to_modify_buffer): Don't lock the file
author
Richard M. Stallman
<rms@gnu.org>
Thu, 20 Jul 1995 20:47:20 +0000
(20:47 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 20 Jul 1995 20:47:20 +0000
(20:47 +0000)
if current_buffer->filename is nil.
src/insdel.c
patch
|
blob
|
history
diff --git
a/src/insdel.c
b/src/insdel.c
index 983e14eb7fbecec2095a21ee5e9efdc9166bb1c9..c6ff136602c0f4bb1138cdd5658bb1e85ad6f8f5 100644
(file)
--- a/
src/insdel.c
+++ b/
src/insdel.c
@@
-713,6
+713,8
@@
prepare_to_modify_buffer (start, end)
#ifdef CLASH_DETECTION
if (!NILP (current_buffer->file_truename)
+ /* Make binding buffer-file-name to nil effective. */
+ && !NILP (current_buffer->filename)
&& SAVE_MODIFF >= MODIFF)
lock_file (current_buffer->file_truename);
#else